<#macro userItem user>
	<div class="col-md-4 well item-${user.email}">
		<div class="info">
			<#if user.privileges == 1>
				<img class="id icon" src="<@spring.url '/images/admin.png' />">
			</#if>
			<#if user.privileges == 2>
				<img class="id icon" src="<@spring.url '/images/user.png' />">
			</#if>
			<p class="title"><strong>${user.email}</strong></p>
			<p class="description">${user.firstName} <span> ${user.lastName}</span></p>
			<a href="<@spring.url '/users/update/${user.email}' />" class="btn btn-primary">update</a>
		</div>
		<a class="delete" data-id="${user.email}"></a>
	</div>
</#macro>

